package com.song.bean;

/**用户实体类
 * @author realname 真实姓名
 */
public class Users {
    private Integer userid;
    private String loginName;
    private String password;
    private String realname;
    private Integer sex;
    private String email;
    private String phone;
    private String address;
    private String cardid;
    private String introduction;
    private Integer roleId;
    private Role role;


    public Users() {
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public Users(Integer userid, String loginName, String password, String realname, Integer sex, String email, String phone, String address, String cardid, String introduction, Integer roleId, Role role) {
        this.userid = userid;
        this.loginName = loginName;
        this.password = password;
        this.realname = realname;
        this.sex = sex;
        this.email = email;
        this.phone = phone;
        this.address = address;
        this.cardid = cardid;
        this.introduction = introduction;
        this.roleId = roleId;
        this.role = role;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCardid() {
        return cardid;
    }

    public void setCardid(String cardid) {
        this.cardid = cardid;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }
}
